package cn.iocoder.yudao.module.project.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {
    // ========== 生产订单详情 1001001000 ==========
    ErrorCode ORDER_DETAIL_NOT_EXISTS = new ErrorCode(1001001001, "生产订单详情不存在");

    // ========== 生产订单信息 1001002000 ==========
    ErrorCode ORDER_NOT_EXISTS = new ErrorCode(1001002001, "生产订单信息不存在");

    // ========== 供应商信息 1001003000 ==========
    ErrorCode SUPPLIER_NOT_EXISTS = new ErrorCode(1001003001, "供应商信息不存在");

    // ========== 内码信息 1001004000 ==========
    ErrorCode INTERNAL_CODE_NOT_EXISTS = new ErrorCode(1001004001, "内码信息不存在");
    // ========== 内码作废信息 1001004100 ==========
    ErrorCode INTERNAL_CODE_RECYCLE_NOT_EXISTS = new ErrorCode(1001004101, "内码作废信息不存在");
    // ========== 订单编辑-删除相关内码 1001004200 ==========
    ErrorCode INTERNAL_CODE_ORDER_EDIT_NOT_EXISTS = new ErrorCode(1001004201, "订单编辑-删除相关内码不存在");

    // ========== 电子秤管理 1001005000 ==========
    ErrorCode ELECTRONIC_SCALE_MANAGE_NOT_EXISTS = new ErrorCode(1001005001, "电子秤管理不存在");

    // ========== 物料入库单 1001006000 ==========
    ErrorCode KIS_MATERIAL_RECEIPT_NOT_EXISTS = new ErrorCode(1001006001, "物料入库单不存在");

    // ========== bom数据 1001007000 ==========
    ErrorCode KIS_BOM_NOT_EXISTS = new ErrorCode(1001007001, "bom数据不存在");

    // ========== 批次码 1001008000 ==========
    ErrorCode KIS_BATCH_CODE_NOT_EXISTS = new ErrorCode(1001008001, "批次码不存在");

    // ========== 物料出库单 1001009000 ==========
    ErrorCode KIS_MATERIEL_EX_WAREHOUSE_NOT_EXISTS = new ErrorCode(1001009001, "物料出库单不存在");
    // ========== 物料出库单历史数据 1001009100 ==========
    ErrorCode KIS_MATERIEL_EX_WAREHOUSE_HISTORY_NOT_EXISTS = new ErrorCode(1001009101, "物料出库单历史数据不存在");
    // ========== 物料出库单作废信息 1001009200 ==========
    ErrorCode KIS_MATERIEL_EX_WAREHOUSE_RECYCLE_NOT_EXISTS = new ErrorCode(1001009201, "物料出库单作废信息不存在");
    // ========== 订单编辑-删除相关物料出库单 1001009300 ==========
    ErrorCode KIS_MATERIEL_EX_WAREHOUSE_ORDER_EDIT_NOT_EXISTS = new ErrorCode(1001009301, "订单编辑-删除相关物料出库单不存在");

    // ========== 成品码信息 1001010000 ==========
    ErrorCode PRODUCTION_CODE_NOT_EXISTS = new ErrorCode(1001010001, "成品码信息不存在");
    // ========== 订单编辑-删除相关成品码 1001010100 ==========
    ErrorCode PRODUCTION_CODE_ORDER_EDIT_NOT_EXISTS = new ErrorCode(1001010101, "订单编辑-删除相关成品码不存在");

    // ========== 重量阈值管理 1001011000 ==========
    ErrorCode WEIGHT_THRESHOLD_MANAGE_NOT_EXISTS = new ErrorCode(1001011001, "重量阈值管理不存在");
    // ========== 称重业务 1001012000 ==========
    ErrorCode WEIGHT_HISTORY_NOT_EXISTS = new ErrorCode(1001012001, "称重业务不存在");
    // ========== 订单编辑-删除相关称重业务 1001012100 ==========
    ErrorCode WEIGHT_HISTORY_ORDER_EDIT_NOT_EXISTS = new ErrorCode(1001012101, "订单编辑-删除相关称重业务不存在");

    // ========== 版本控制 1001013000 ==========
    ErrorCode VERSION_CONTROL_NOT_EXISTS = new ErrorCode(1001013001, "版本控制不存在");

    // ========== 派工单控制 1001014000 ==========
    ErrorCode DISPATCH_LIST_NOT_EXISTS = new ErrorCode(1001014000, "派工单不存在");
    ErrorCode DISPATCH_LIST_DATA_ERROR = new ErrorCode(1001014001, "派工单导入数据失败");

    // ========== 工位管理 1001015000 ==========
    ErrorCode WORKSTATION_NOT_EXISTS = new ErrorCode(1001015000, "工位不存在");
    ErrorCode WORKSTATION_PROCESS_ORDER_EXISTS = new ErrorCode(1001015001, "工艺顺序已存在");
    ErrorCode WORKSTATION_ELECTRONIC_SCALE_USED = new ErrorCode(1001015002, "该电子秤已被使用");


    // ========== 产品完成工序管理 1001016000 ==========
    ErrorCode PRODUCT_PROCESS_COMPLETED_NOT_EXISTS = new ErrorCode(1001016000, "产品完成工序不存在");


    // ========== 拨交单管理 1001017000 ==========
    ErrorCode DELIVERY_RECEIPT_NOT_EXISTS = new ErrorCode(1001017000, "拨交单不存在");

    // ========== 拨交单明细管理 1001018000 ==========
    ErrorCode DELIVERY_RECEIPT_DETAIL_NOT_EXISTS = new ErrorCode(1001018000, "拨交单明细不存在");

    // ========== 课室完成记录管理 1001019000 ==========
    ErrorCode DEPT_COMPLETED_LOG_NOT_EXISTS = new ErrorCode(1001019000, "课室完成记录不存在");

    // ========== 不良品记录 1001020000 ==========
    ErrorCode DEFECTIVE_PRODUCT_RECORD_NOT_EXISTS = new ErrorCode(1001020000, "不良品记录不存在");

    // ========== 内码工位计划 1001021000 ==========
    ErrorCode INTERNAL_WORKSTATION_PLAN_NOT_EXISTS = new ErrorCode(1001021000, "内码工位计划不存在");
}
